home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / Report Writers / Crystal Repot 9.0 Full CD version / Setup.exe / ProgramF / CRYSTAL / CRW9 / DEV / INCLUDE / Uxdapp.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-01-15  |  1.4 KB  |  77 lines

  1.  
  2. //<HEADER_BEGIN>
  3. //================================================
  4. //File name: uxdapp.h
  5. //Date : January, 15 2002  12:15
  6. //Copyright (c) 2002 - Crystal Decisions Corp.
  7. //================================================
  8. //<HEADER_END>
  9.  
  10. #if !defined (UXDAPP_H)
  11. #define UXDAPP_H
  12.  
  13. // Set 1-byte structure alignment
  14. #if !defined(PLAT_UNIX)
  15. #if defined (__BORLANDC__)      // Borland C/C++
  16.   #pragma option -a-
  17. #elif defined (_MSC_VER)        // Microsoft Visual C++
  18.   #if _MSC_VER >= 900           // MSVC 2.x and later
  19.     #pragma pack (push)
  20.   #endif
  21.   #pragma pack (1)
  22. #endif
  23. #endif
  24.  
  25. #if defined (__cplusplus)
  26. extern "C"
  27. {
  28. #endif
  29.  
  30. #define UXDApplicationType             0
  31.  
  32. typedef struct UXDApplicationOptionsW 
  33. {
  34.     WORD structSize;
  35.  
  36.     wchar_t FAR *fileName;
  37. }
  38.     UXDApplicationOptionsW;
  39.  
  40. typedef struct UXDApplicationOptionsA
  41. {
  42.     WORD structSize;
  43.  
  44.     char FAR *fileName;
  45. }
  46.     UXDApplicationOptionsA;
  47.  
  48.  
  49. #ifdef UNICODE
  50. typedef UXDApplicationOptionsW UXDApplicationOptions;
  51. #else
  52. typedef UXDApplicationOptionsA UXDApplicationOptions;
  53. #endif  //UNICODE
  54.  
  55. #define UXDApplicationOptionsSize      (sizeof (UXDApplicationOptions))
  56.  
  57.  
  58. #if defined (__cplusplus)
  59. }
  60. #endif
  61.  
  62. // Reset structure alignment
  63. #if !defined(PLAT_UNIX)
  64. #if defined (__BORLANDC__)
  65.   #pragma option -a.
  66. #elif defined (_MSC_VER)
  67.   #if _MSC_VER >= 900
  68.     #pragma pack (pop)
  69.   #else
  70.     #pragma pack ()
  71.   #endif
  72. #endif
  73. #endif
  74.  
  75. #endif
  76.  
  77.